import request from '@/utils/request'

// 查询ID-10 -22 化药注射剂列表
export function listTdmHuaYaoZhuSheJi(query) {
  return request({
    url: '/tdm/TdmHuaYaoZhuSheJi/list',
    method: 'get',
    params: query
  })
}

// 查询ID-10 -22 化药注射剂详细
export function getTdmHuaYaoZhuSheJi(id) {
  return request({
    url: '/tdm/TdmHuaYaoZhuSheJi/' + id,
    method: 'get'
  })
}

// 新增ID-10 -22 化药注射剂
export function addTdmHuaYaoZhuSheJi(data) {
  return request({
    url: '/tdm/TdmHuaYaoZhuSheJi',
    method: 'post',
    data: data
  })
}

// 修改ID-10 -22 化药注射剂
export function updateTdmHuaYaoZhuSheJi(data) {
  return request({
    url: '/tdm/TdmHuaYaoZhuSheJi',
    method: 'put',
    data: data
  })
}

// 删除ID-10 -22 化药注射剂
export function delTdmHuaYaoZhuSheJi(id) {
  return request({
    url: '/tdm/TdmHuaYaoZhuSheJi/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
